-
Notifications
You must be signed in to change notification settings - Fork 274
Pretty print havoc_object
instructions
#6174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pretty print havoc_object
instructions
#6174
Conversation
cc: @feliperodri |
dbff795
to
892ff2c
Compare
Codecov Report
@@ Coverage Diff @@
## develop #6174 +/- ##
===========================================
+ Coverage 75.30% 75.31% +0.01%
===========================================
Files 1450 1450
Lines 158480 158485 +5
===========================================
+ Hits 119348 119369 +21
+ Misses 39132 39116 -16
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
892ff2c
to
c266846
Compare
} | ||
// fallthrough | ||
} | ||
// fallthrough |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏️ 💡 might be more readable to just repeat the line from ASSIGN and break.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right that having:
out << from_expr(ns, identifier, instruction.get_code()) << '\n';
break;
in place of the two fallthrough
comments above would probably be more explicit, but this would also lead to code duplication, so I am somewhat hesitant. I added the comments to make it explicit that we are going to fall into the next case.
Resolves #6125.
The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/My commit message includes data points confirming performance improvements (if claimed).White-space or formatting changes outside the feature-related changed lines are in commits of their own.